package com.trkj.pojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the KNOWLEDGE_LABEL database table.
 * 
 */
@Entity
@Table(name="KNOWLEDGE_LABEL")
@NamedQuery(name="KnowledgeLabel.findAll", query="SELECT k FROM KnowledgeLabel k")
public class KnowledgeLabel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="KNOWLEDGE_LABEL_LABELID_GENERATOR", sequenceName="HR")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="KNOWLEDGE_LABEL_LABELID_GENERATOR")
	@Column(name="LABEL_ID")
	private long labelId;

	@Column(name="LABEL_CLOSE")
	private BigDecimal labelClose;

	@Column(name="LABEL_CREATORDATE")
	private Timestamp labelCreatordate;

	@Column(name="LABEL_EXPLAIN")
	private String labelExplain;

	@Column(name="LABEL_NAME")
	private String labelName;

	@Column(name="LABEL_PERSON")
	private String labelPerson;

	@Column(name="LABEL_UPDATEDATE")
	private Timestamp labelUpdatedate;

	//bi-directional many-to-one association to BbcKnowledge
	@ManyToOne
	@JoinColumn(name="BBCKNOW_ID")
	private BbcKnowledge bbcKnowledge;

	//bi-directional many-to-one association to KnowledgeSkill
	@ManyToOne
	@JoinColumn(name="KNOWSK_ID")
	private KnowledgeSkill knowledgeSkill;

	public KnowledgeLabel() {
	}

	public long getLabelId() {
		return this.labelId;
	}

	public void setLabelId(long labelId) {
		this.labelId = labelId;
	}

	public BigDecimal getLabelClose() {
		return this.labelClose;
	}

	public void setLabelClose(BigDecimal labelClose) {
		this.labelClose = labelClose;
	}

	public Timestamp getLabelCreatordate() {
		return this.labelCreatordate;
	}

	public void setLabelCreatordate(Timestamp labelCreatordate) {
		this.labelCreatordate = labelCreatordate;
	}

	public String getLabelExplain() {
		return this.labelExplain;
	}

	public void setLabelExplain(String labelExplain) {
		this.labelExplain = labelExplain;
	}

	public String getLabelName() {
		return this.labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}

	public String getLabelPerson() {
		return this.labelPerson;
	}

	public void setLabelPerson(String labelPerson) {
		this.labelPerson = labelPerson;
	}

	public Timestamp getLabelUpdatedate() {
		return this.labelUpdatedate;
	}

	public void setLabelUpdatedate(Timestamp labelUpdatedate) {
		this.labelUpdatedate = labelUpdatedate;
	}

	public BbcKnowledge getBbcKnowledge() {
		return this.bbcKnowledge;
	}

	public void setBbcKnowledge(BbcKnowledge bbcKnowledge) {
		this.bbcKnowledge = bbcKnowledge;
	}

	public KnowledgeSkill getKnowledgeSkill() {
		return this.knowledgeSkill;
	}

	public void setKnowledgeSkill(KnowledgeSkill knowledgeSkill) {
		this.knowledgeSkill = knowledgeSkill;
	}

}